<ul id="nav">
	{foreach $mainMenu as $pg}
	<li><a href="{$pg[''].link}">{if $pg@first}<img src='/images/ico_home.png' />{else}{$pg[''].menu_name}{/if}</a></li>
	{/foreach}
</ul>